<?php
namespace app\index\model;

use think\Model;

class AdModel extends Model
{
    protected $table = 'sf_ad';
    public function get_ad_list(){
        return $this->where(['is_use'=>1,'type'=>1])->order('sort')->select();
    }
}
